package com.huishu.commons.constant;

import org.omg.CORBA.StringHolder;

import javax.print.DocFlavor;

/**
 * @Author ljj
 * @Date 2022/4/15 10:15
 */
public interface RedisKeyPrefix {

    /**
     * 注册或登录验证码
     */
    String REGISTER_LOGIN_SMS = "huishu:register_login_sms:";

    /**
     * 修改手机号验证码
     */
    String UPDATE_PHONE_SMS = "update_phone_sms:";

    /**
     * 修改密码验证码
     */
    String UPDATE_PASSWORD_SMS = "update_password_sms:";

    /**
     * 修改密码验证码
     */
    String CANCELLATION_SMS = "cancellation_sms:";

    /**
     * 绑定手机号
     */
    String BIND_PHONE_SMS = "bind_phone_sms:";
    /**
     * 密码修改key
     */
    String PASSWORD_KEY = "password_key:";

    /**
     * 积分
     */
    String INTEGRAL_TASK_USER = "integral_task_user:";

    /**
     * 兑换商品
     */
    String EXCHANGE_PRODUCT = "exchange_product_lock:";

    /**
     * 申请付款验证码
     */
    String APPLY_WALLET_CODE = "apply_wallet_code:";


    /*---------------------------------------------------订单----------------------------------------------*/

    /**
     * 产品库存缓存
     */
    String HUISHU_STOCK_CACHE_PREFIX = "huishu:stock:cache:";

    /**
     * 雅顿订单数据
     */
    String HUISHU_YADUN_DATA = "huishu:yadun:";

    /**
     * 微信拉取支付数据
     */
    String WX_PAY_DATA = "huishu:wxpay:";

    /**
     * 订单商品数量
     */
    String GOODS_NUM = "huishu:goods:num:";

    /*首页---------------------------------------------------------------------------------------------------*/

    String POPUP_COUNT = "huishu:popup:count:";

    /*购物车------------------------------------------------------------------------------------------------*/

    String CARTITEM_COUNT = "huishu:cartItem:count:";


    String CARTITEM_IDS = "huishu:cartItem:ids:";

    /**
     * 样品限制（只能购买一次）
     */
    String SAMPLE_LIMITATION = "huishu:cartItem:sample:limitation:";

    /*商品--------------------------------------------------------------------------------------------------*/

    String WELFARE_CODE = "huishu:welfare:code:";

    /*优惠卷------------------------------------------------------------------------------------------------*/
    String FIRST_ORDER_COUPON = "huishu:coupon:first_order_coupon:";

    /**
     * 领取社群优惠卷
     */
    String ASSOCIATION_COUPON = "huishu:coupon:association_coupon:";

}
